package cn.tedu.carehome.foundation.service;

import cn.tedu.carehome.foundation.pojo.dto.GoodlistAddNewDTO;
import cn.tedu.carehome.foundation.pojo.dto.GoodlistUpdateDTO;
import cn.tedu.carehome.foundation.pojo.vo.GoodlistListItemVO;
import cn.tedu.carehome.foundation.pojo.vo.GoodlistStandardVO;
import cn.tedu.carehome.foundation.restful.JsonPage;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IGoodlistService {
    /**
     * 添加病例数据
     * @param illAddNewDTO 新的病例数据
     */
    void addNew(GoodlistAddNewDTO goodlistAddNewDTO);

    /**
     * 根据id删除病例
     * @param id 病例id
     */
    void deleteById(Long id);


    List<GoodlistListItemVO> list();

    List<GoodlistListItemVO> listLimit(String content);

}
